//
// Created by hsj on 2021/12/22.
//

#include "t_iostream.h"
#include <iostream>
using namespace std;

//测试输入输出。八进制，十进制，16进制
void test_iostream(){
    int dec_num{42};
    int oct_num{42};
    int hex_num{42};
    cout<<dec_num<<"十进制正常输出"<<endl;
    cout<<oct<<oct_num<<"八进制输出(0)"<<endl;
    cout<<hex<<hex_num<<"十六进制输出(0x)"<<endl;
}